package com.xu.common.mail;

import java.util.concurrent.CompletableFuture;

/**
 * 邮件服务类
 *
 * @author xu
 * 2021/8/23 12:59
 */
public interface MailService {
    /**
     * 发送邮件
     */
    CompletableFuture<Boolean> sendMail(MailDTO mailDTO);
}
